#include "OpencvTest.h"
#include "QuickOpencv.h"
#include <iostream>
#include <spdlog/spdlog.h>
#include <onnxruntime_cxx_api.h>
#include <opencv2/opencv.hpp>

int main(int argc,char* argv[]){
    if(argc < 2){
        spdlog::error("用法:{} imageFilePath",argv[0]);
        return -1;
    }
    std::string imagePath = argv[1];

    QuickOpencv quickOpencv;
    cv::Mat image = cv::imread(imagePath);
    quickOpencv.colorSpaceDemo(image);
    quickOpencv.matCreateDemo(image);
    readAndShowImage(imagePath);
    spdlog::shutdown();
    return 0;
}